﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ApesaIG
{
    public partial class StockEdit : System.Web.UI.Page
    {


        protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
        {

        }

        #region Solapas#
        protected void lnkViewPanel_Click(object sender, EventArgs e)
        {
            string lnkName = ((LinkButton)sender).Text;

            td1.Attributes["class"] = "";
            td2.Attributes["class"] = "";

            switch (lnkName.ToLower())
            {
                case "datos":
                    td1.Attributes["class"] = "tSel";
                    MultiView1.ActiveViewIndex = 0;
                    break;
                case "caracteristicas":
                    td2.Attributes["class"] = "tSel";
                    MultiView1.ActiveViewIndex = 1;
                    break;
                case "acciones":
                    td3.Attributes["class"] = "tSel";
                    MultiView1.ActiveViewIndex = 2;
                    break;
                default:
                    break;
            }
        }
        #endregion#

        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }
}